.class Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;
.super Ljava/lang/Object;
.source "DetailPushPage.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/DetailPushPage;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "JavaScriptInterface"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/DetailPushPage;


# direct methods
.method private constructor <init>(Lcom/netease/newsreader/activity/DetailPushPage;)V
    .locals 0
    .parameter

    .prologue
    .line 1643
    iput-object p1, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/netease/newsreader/activity/DetailPushPage;Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1643
    invoke-direct {p0, p1}, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;-><init>(Lcom/netease/newsreader/activity/DetailPushPage;)V

    return-void
.end method

.method static synthetic access$1(Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;)Lcom/netease/newsreader/activity/DetailPushPage;
    .locals 1
    .parameter

    .prologue
    .line 1643
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    return-object v0
.end method


# virtual methods
.method public getBody()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1650
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$93(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getMore()V
    .locals 2

    .prologue
    .line 1658
    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPushPage;->access$1(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/lang/String;

    move-result-object v0

    .line 1659
    .local v0, did:Ljava/lang/String;
    new-instance v1, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface$1;

    invoke-direct {v1, p0, v0}, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface$1;-><init>(Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;Ljava/lang/String;)V

    .line 1671
    invoke-virtual {v1}, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface$1;->start()V

    .line 1672
    return-void
.end method

.method public getMoreBody()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1654
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$94(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getReplyBoard()Ljava/lang/String;
    .locals 2

    .prologue
    .line 1701
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "replyBoard"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "replyBoard"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 1702
    :goto_0
    return-object v0

    :cond_0
    const-string v0, ""

    goto :goto_0
.end method

.method public getReplyCount()I
    .locals 2

    .prologue
    .line 1694
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "replyCount"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 1696
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "replyCount"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 1695
    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    .line 1697
    :goto_0
    return v0

    :cond_0
    const/4 v0, -0x1

    goto :goto_0
.end method

.method public getSource()Ljava/lang/String;
    .locals 3

    .prologue
    .line 1689
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "source"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u6765\u6e90\uff1a "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v1

    const-string v2, "source"

    invoke-virtual {v1, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 1690
    :goto_0
    return-object v0

    :cond_0
    const-string v0, ""

    goto :goto_0
.end method

.method public getTime()Ljava/lang/String;
    .locals 2

    .prologue
    .line 1684
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "ptime"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "ptime"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 1685
    :goto_0
    return-object v0

    :cond_0
    const-string v0, ""

    goto :goto_0
.end method

.method public getTitle()Ljava/lang/String;
    .locals 2

    .prologue
    .line 1645
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "title"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "title"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 1646
    :goto_0
    return-object v0

    :cond_0
    const-string v0, ""

    goto :goto_0
.end method

.method public hasNext()I
    .locals 2

    .prologue
    .line 1675
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "hasNext"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 1676
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "hasNext"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 1677
    const/4 v0, 0x1

    .line 1679
    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public showBigPic(I)V
    .locals 2
    .parameter "i"

    .prologue
    .line 1706
    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    .line 1707
    .local v0, msg:Landroid/os/Message;
    const/4 v1, 0x0

    iput v1, v0, Landroid/os/Message;->what:I

    .line 1708
    iput p1, v0, Landroid/os/Message;->arg1:I

    .line 1709
    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPushPage;->access$69(Lcom/netease/newsreader/activity/DetailPushPage;)Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 1710
    return-void
.end method

.method public toLink(I)V
    .locals 8
    .parameter "i"

    .prologue
    .line 1717
    const/4 v2, 0x0

    .line 1718
    .local v2, index:I
    const/4 v4, 0x0

    .line 1719
    .local v4, linkList:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    iget-object v6, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v6}, Lcom/netease/newsreader/activity/DetailPushPage;->access$97(Lcom/netease/newsreader/activity/DetailPushPage;)I

    move-result v6

    if-lt p1, v6, :cond_1

    .line 1720
    iget-object v6, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v6}, Lcom/netease/newsreader/activity/DetailPushPage;->access$97(Lcom/netease/newsreader/activity/DetailPushPage;)I

    move-result v6

    sub-int v2, p1, v6

    .line 1721
    iget-object v6, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v6}, Lcom/netease/newsreader/activity/DetailPushPage;->access$10(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v6

    const-string v7, "link"

    invoke-virtual {v6, v7}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    .end local v4           #linkList:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    check-cast v4, Ljava/util/ArrayList;

    .line 1726
    .restart local v4       #linkList:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    :goto_0
    if-eqz v4, :cond_0

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v6

    if-lez v6, :cond_0

    .line 1727
    invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/util/HashMap;

    .line 1728
    .local v5, linkMap:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v6, "href"

    invoke-virtual {v5, v6}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 1729
    .local v1, href:Ljava/lang/String;
    new-instance v3, Landroid/content/Intent;

    iget-object v6, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    const-class v7, Lcom/netease/newsreader/activity/LinkOutSide;

    invoke-direct {v3, v6, v7}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 1730
    .local v3, intent:Landroid/content/Intent;
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 1731
    .local v0, extras:Landroid/os/Bundle;
    const-string v6, "href"

    invoke-virtual {v0, v6, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 1732
    invoke-virtual {v3, v0}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 1733
    iget-object v6, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-virtual {v6, v3}, Lcom/netease/newsreader/activity/DetailPushPage;->startActivity(Landroid/content/Intent;)V

    .line 1736
    .end local v0           #extras:Landroid/os/Bundle;
    .end local v1           #href:Ljava/lang/String;
    .end local v3           #intent:Landroid/content/Intent;
    .end local v5           #linkMap:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_0
    return-void

    .line 1723
    :cond_1
    move v2, p1

    .line 1724
    iget-object v6, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v6}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v6

    const-string v7, "link"

    invoke-virtual {v6, v7}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    .end local v4           #linkList:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    check-cast v4, Ljava/util/ArrayList;

    .restart local v4       #linkList:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    goto :goto_0
.end method

.method public triggerFullScreen()V
    .locals 2

    .prologue
    .line 1713
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$95(Lcom/netease/newsreader/activity/DetailPushPage;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$96(Lcom/netease/newsreader/activity/DetailPushPage;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$JavaScriptInterface;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPushPage;->access$69(Lcom/netease/newsreader/activity/DetailPushPage;)Landroid/os/Handler;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 1714
    :cond_0
    return-void
.end method
